package xh.lumt.server.commands.impl;

import xh.lumt.server.ServerController;
import xh.lumt.server.commands.PlayerCommand;
import xh.lumt.server.commands.PlayerOperation;

/**
 * Created by Administrator on 2016/6/25.
 */
public class Pause implements PlayerCommand {
    public PlayerOperation getPlayerOperation() {
        return PlayerOperation.Pause;
    }

    public Object doCommand() {
        ServerController.getPlayStatusCenter().pause();
        return null;
    }

    public void initFromParams(String[] params) {

    }
}
